package cn.wsalix.exception;

import lombok.Data;
import lombok.EqualsAndHashCode;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
@Component("userException")
@Data
@EqualsAndHashCode(callSuper = false)
public class UserException extends NullException{
	
	@Value("${user.login.unlogin}")
	private String userUnlogin;
	
	@Value("${user.reg.exist}")
	private String regUserExist;
	
	@Value("${third.login.type}")
	private String thirdLoginType;
	
	@Value("${third.openId.error}")
	private String thirdOpenIdError;
	
	@Value("${third.userId.error}")
	private String thirdUserIdError;
	
	@Value("${third.accessToken.error}")
	private String thirdAccessTokenError;
	
	@Value("${user.verifyCode.error}")
	private String verifyCodeError;
	
	@Value("${user.reset.unexist}")
	private String resetUserUnExist;
	
	@Value("${user.unexist}")
	private String userUnExist;
	
	@Value("${user.exist}")
	private String userExist;
	
	@Value("${user.login.username.error}")
	private String loginUserNameError;

	@Value("${user.login.password.error}")
	private String loginPasswordError;

	@Value("${user.login.platform.error}")
	private String loginPlatformError;
	
	@Value("${user.reg.username.error}")
	private String regUserNameError;

	@Value("${user.reg.password.error}")
	private String regPasswordError;

	@Value("${user.reg.platform.error}")
	private String regPlatformError;
	
	@Value("${user.del.role.exist}")
	private String userDelRoleExist;
	
	@Value("${send.sms.username.error}")
	private String sendSmsUserNameError;
	
	@Value("${send.sms.operatetype.error}")
	private String SendSmsOperateTypeError;
	
	@Value("${user.address.phone}")
	private String userAddressPhone;
	
	@Value("${order.id.error}")
	private String orderIdError;

}
